package com.solution.admin.sysconfig.dao;

import java.util.List;
import java.util.Map;

import com.solution.admin.sysconfig.entity.WechatMsgEventReplyEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 微信接收事件推送DAO接口
 * @author solin
 * @date 2017-11-30 14:41:21
 */
public interface WechatMsgEventReplyDao extends BaseDao<WechatMsgEventReplyEntity> {
	
	/**
	 * 保存微信接收事件推送
	 * @param wechatMsgEventReplyEntity
	 * @return
	 * @author solin
	 * @date 2017-11-30 14:41:21
	 */
	public long saveWechatMsgEventReply(WechatMsgEventReplyEntity wechatMsgEventReplyEntity);

	/**
	 * 分页查询微信接收事件推送信息
	 * @param pageParam 分页对象
	 * @param wechatMsgEventReply 分页参数
	 * @return PageBean 分页参数及数据
	 * @author solin
	 * @date 2017-11-30 14:41:21
	 */
	public PageBean listWechatMsgEventReplyPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新微信接收事件推送
	 * @param wechatMsgEventReplyEntity
	 * @return
	 * @author solin
	 * @date 2017-11-30 14:41:21
	 */
	public int updateWechatMsgEventReply(WechatMsgEventReplyEntity wechatMsgEventReplyEntity);


	/**
	 * 删除微信接收事件推送
	 * @param id
	 * @return
	 * @author solin
	 * @date 2017-11-30 14:41:21
	 */
	public int deleteWechatMsgEventReplyById(Long id);
	
	/**
	 * 根据微信接收事件推送类型获取微信接收事件推送
	 * @param param
	 * @return
	 * @author solin
	 * @date 2017-11-30 14:41:21
	 */
	public List<WechatMsgEventReplyEntity> listWechatMsgEventReply( Map<String, Object> param);
}
